<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Search</title>
</head>
<body>
    {% if error %}
    <ul>
    {% for error in errors %}
    <li>{{ error }}</li>
    {% endfor %}
    </ul>
    {% endif %}
    <form action="" method="get">
    <input type="text" name="q">
    <input type="submit" value="Search">
    </form>
</body>
</html>